/**
 * File Name	: TimeSpan.h
 * Location		: /Core/
 * Lib.Name		: Core.a
 * Designer		: OS (20-09-06)
 * Mod. 1 by	: 
 */

#pragma once

struct timeb;

namespace Core
{
	class TimeSpan
	{
	private:
		timeb m_Time;

	public:
		TimeSpan();
		float Peek();
		float Tick();
		float Delta(TimeSpan p_TimeSpan);
		void GetTime(unsigned long& p_Seconds, unsigned short& p_MilliSeconds);
		unsigned long GetSecond();
		unsigned short GetMilliSecond();
		void SetTime(unsigned long p_Seconds, unsigned short p_MilliSeconds);
	};
}
